package com.example.demo1.wyy.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PlantAddVo {

     @NotBlank(message = "新增失败，工程描述不能为空")
    private String desc;

     @NotBlank(message = "新增失败，工程编码不能为空")
    private String  code;

     @NotNull(message = "新增失败，工程状态status不能为空")
    private  Integer status;

     @NotNull(message = "新增失败，法人编号不能为空")
    private  Integer legalPersonId;

}
